package oopday03;

public class Test {
    public static void main(String[] args) {
        Fish zz = new Fish("zz",12,"while");
        Dog XX = new Dog("XX",12,"yellow");
        Chick yy =new Chick("yy",12,"red");
        zz.eat();
        zz.Drink();
        XX.eat();
        XX.lookHome();
        XX.Drink();
        XX.swim();
        yy.eat();
        yy.Drink();
        yy.deposit();

    }
}
